﻿<Window x:Class="MoonyDesk.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:tn="clr-namespace:Hardcodet.Wpf.TaskbarNotification;assembly=Hardcodet.Wpf.TaskbarNotification"
        Title="MoonyDesk" 
        Height="0" Width="0"
        ShowInTaskbar="False"
        Loaded="Window_Loaded">
    <Window.CommandBindings>
        <CommandBinding Command="Properties" Executed="CommandBinding_Executed" />
    </Window.CommandBindings>
    <Grid>
        <tn:TaskbarIcon IconSource="moony.ico" ToolTipText="MoonyDesk" LeftClickCommand="Properties">
            <tn:TaskbarIcon.ContextMenu>
                <ContextMenu>
                    <MenuItem Header="Settings" Click="Options_Click"></MenuItem>
                    <Separator></Separator>
                    <MenuItem Header="Close" Click="Close_Click"></MenuItem>
                </ContextMenu>
            </tn:TaskbarIcon.ContextMenu>
        </tn:TaskbarIcon>
    </Grid>
</Window>
